import {systemServer} from '../baseApi'

export class logApi {
  static save(data) {
    return systemServer.connection('POST', '/sys/log/save', data)
  }
  static findPage (data) {
    return systemServer.connection('POST', '/sys/log/findPage', data)
  }

  static delete(data) {
    return systemServer.connection('POST', '/sys/log/delete', data)
  }

  static findByName(data) {
    return systemServer.connection('GET', '/sys/log/findByName', data)
  }
}
